package com.ecut.property_project.mapper.contract;

import com.ecut.property_project.model.contract.ContractCharge;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ContractChargeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ContractCharge record);

    int insertSelective(ContractCharge record);

    List<ContractCharge> selectAll();

    List<ContractCharge> selectByPage(Integer page, Integer pageSize);

    ContractCharge selectByPrimaryKey(Integer id);

    List<ContractCharge> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ContractCharge record);

    int updateByPrimaryKey(ContractCharge record);
}